home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gFrameCounter, gFloatSprite
- gFrameCounter = (gFrameCounter + 1) mod 24
- StillPushing = not (gFrameCounter = 0)
- if (gFrameCounter mod 2) = 0 then
- StepSequence()
- if sprite 70 intersects 62 then
- repeat with i = 62 down to 60
- if (sprite(i).locH > 0) and StillPushing then
- if sprite(i).left > (4 + sprite(19).left) then
- StillPushing = 0
- next repeat
- end if
- sprite(i).locH = sprite(i).locH + 5
- end if
- end repeat
- end if
- end if
- if StillPushing then
- go(the frame)
- else
- preloadMember("gem1", "gem3")
- preloadMember("75_ice")
- gFrameCounter = 0
- end if
- end
-